package com.zjeav.lingjiao.ui.home.view;

import com.zjeav.lingjiao.base.request.BookRequest;
import com.zjeav.lingjiao.base.response.BooksResponse;

/**
 * Created by kekezhou on 2017/11/24.
 */

public interface GetBookContract {
    interface View extends BaseView {
        void showBookSuccess(BooksResponse qniuGettokenReponse);

        void showBookFailure(Throwable t);
    }

    interface Presenter extends BasePresenter<View> {
        void getbook(BookRequest request);
    }
}
